"use client";

import {IconBrandComedyCentral, IconBook, IconLicense, IconTemplate} from "@tabler/icons-react";
import {IpdShellContent} from "@/components/IpdShell/IpdShellContent/IpdShellContent";

const subHeader = {
  zh: "云端文档",
  en: "On-Cloud Docs",
  base: "/ipdv2/cloud-docs",
  nav: [
    {label: "标准规范", link: "standards", icon: IconBrandComedyCentral},
    {label: "可研设计", link: "cmdi-docs", icon: IconBook},
    {label: "产出专利", link: "patents", icon: IconLicense},
    {label: "常用模版", link: "templates", icon: IconTemplate},
  ],
};

export default function Layout({children}: {children: React.ReactNode}) {
  return <IpdShellContent subHeader={subHeader}>{children}</IpdShellContent>;
}
